<?php

\think\facade\Route::post('login','login/login');
\think\facade\Route::get('es','article/init');
\think\facade\Route::post('es','article/add');
\think\facade\Route::get('redis','tag/index');
\think\facade\Route::get('geo','address/index');



\think\facade\Route::group(function (){
    \think\facade\Route::post('upload','index/upload');
    \think\facade\Route::get('banner','banner/index');
    \think\facade\Route::get('article','article/bool');
    \think\facade\Route::get('tags','tag/getData');
    \think\facade\Route::get('nearsearch','article/search');
    \think\facade\Route::get('sites','address/geo');
    \think\facade\Route::post('sign','sign/sign');
    \think\facade\Route::get('sign','sign/index');
})->middleware(\app\middleware\ApiCheck::class);
